package com.niiwoo.civet.mobile.vo.request.creditor;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@Getter
@Setter
@ToString
@ApiModel("级联获取债权筛选条件")
public class InvestOrderRelationRequestVO {
    @ApiModelProperty(value="排序条件（默认0）；0-所有；1-产品，2-期限，3-还款方式；4-利率；5-可投金额", required=true)
    private Byte configType;

    @ApiModelProperty(value="贷款类型")
    private Long loanTypeConfigId;

    @ApiModelProperty(value="还款方式")
    private Long repaymentTypeConfigId;

    @ApiModelProperty(value="参考年化利率")
    private Long interestRateConfigId;

    @ApiModelProperty(value="剩余期限")
    private Long restPeriodConfigId;

    @NotNull
    @ApiModelProperty(value = "产品类型 1.信用标 2.抵押标 3.转让区")
    private Byte fiterType;
}
